package liumengbaio.lolzhangyoubao.Activity.Fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import liumengbaio.lolzhangyoubao.Activity.InFo.FreeHeroInfo;
import liumengbaio.lolzhangyoubao.R;

/**
 * Created by lanouhn on 16/9/5.
 */
public class FragmentHeroCustomPlay extends Fragment {
    public static FragmentHeroCustomPlay newInstants(FreeHeroInfo info) {
        FragmentHeroCustomPlay fragmentHeroCustomPlay = new FragmentHeroCustomPlay();
        Bundle bundle = new Bundle();
        bundle.putSerializable("playerspublishinfo",info);
        fragmentHeroCustomPlay.setArguments(bundle);
        return fragmentHeroCustomPlay;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_customplay,null);
    }
}
